﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinQProject;
using LinQProject.Repository;

namespace ServiceProject
{
    //public class MaintananceBussiness: DataBaseProcessBase<Setting>
    //{
    //    public MaintananceBussiness(FarmacieDataClassesDataContext database) : base(database){}

    //    public Setting GetSetting(int SettingId)
    //    {
    //       IList<Setting> listaSet=base.GetAll(s => s.SetariId == SettingId && s.IsActive);
    //        int nr = listaSet.Count;
    //        if (nr== 0)
    //            return null;
    //        return listaSet[0];
    //    }
    //}
}
